package com.antdesignbackend.backend.town.service;


import com.antdesignbackend.backend.town.entity.Town;
import com.antdesignbackend.backend.town.entity.entityVo.TownVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 乡镇管理
 *
 * @author 不二
 * @email jack.com
 * @date 2020-07-21 18:57:57
 */


public interface TownService extends IService<Town>{
    List<TownVo> search(@Param(Constants.WRAPPER) QueryWrapper<TownVo> queryWrapper, Page<TownVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<TownVo> queryWrapper);
}


